package com.wanlian.service;

import com.wanlian.common.PageCondition;
import com.wanlian.entity.Authority;
import com.wanlian.model.ResultModel;

public interface AuthorityServices {

    /**
     * 添加
     *
     * @param authority
     */
    ResultModel doAdd(Authority authority);

    /**
     * 编辑修改
     *
     * @param authority
     */
    ResultModel doedit(Authority authority);

    /**
     * 删除
     *
     * @param authority
     */
    ResultModel doDel(Authority authority);

    /**
     * 权限分页查询
     *
     * @param pageCondition
     * @return
     */
    ResultModel queryPageList(PageCondition pageCondition);


    Authority queryByMethodUrl(String metnodUrl);



}
